<?php
/**
 * 计薪方式验证器
 */

namespace app\common\validate;

class SalaryMenuValidate extends Validate
{
    protected $rule = [
            'salary_name|计薪名称' => 'require',

    ];

    protected $message = [
            'salary_name.require' => '计薪名称不能为空',

    ];

    protected $scene = [
        'add'  => ['salary_name',],
'edit' => ['salary_name',],

    ];

    

}
